package metier;

public class Client
{
	private static int nbClient;
	private int idClient;
	private String nom;
	private String prenom;
	private int codePostal;
	private String rue;
	private String ville;
	private String email;
	private int telephone;

	public Client(String nom, String prenom, int codePostal,
			String rue, String ville, String email, int telephone)
	{
		super();
		this.idClient = nbClient + 1;
		this.nom = nom;
		this.prenom = prenom;
		this.codePostal = codePostal;
		this.rue = rue;
		this.ville = ville;
		this.email = email;
		this.telephone = telephone;
		nbClient = nbClient + 1;
	}

	public int getIdClient()
	{
		return idClient;
	}

	public String getNom()
	{
		return nom;
	}

	public String getPrenom()
	{
		return prenom;
	}

	public int getCodePostal()
	{
		return codePostal;
	}

	public String getVille()
	{
		return ville;
	}

	public String getEmail()
	{
		return email;
	}

	public int getTelephone()
	{
		return telephone;
	}
	
	
	
}
